import request from '@/utils/request'
import menus from '@/router/modules/menu'

//circleNav----start
export function circleNavList(query) {
  return request({
    url: '/circleNav/list',
    method: 'get',
    params: query
  })
}

export function circleNavCreate(data) {
  return request({
    url: '/circleNav/create',
    method: 'post',
    data
  })
}

export function circleNavUpdate(data) {
  return request({
    url: '/circleNav/update',
    method: 'post',
    data
  })
}

export function circleNavDelete(data) {
  return request({
    url: '/circleNav/delete',
    method: 'post',
    data
  })
}
//circleNav----end

//swiper----start
export function swiperList(query) {
  return request({
    url: '/swiper/list',
    method: 'get',
    params: query
  })
}

export function swiperCreate(data) {
  return request({
    url: '/swiper/create',
    method: 'post',
    data
  })
}

export function swiperUpdate(data) {
  return request({
    url: '/swiper/update',
    method: 'post',
    data
  })
}

export function swiperDelete(data) {
  return request({
    url: '/swiper/delete',
    method: 'post',
    data
  })
}
//swiper----end





